RefCountedObjectProfile.fromJson constructor

RefCountedObjectProfile.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RefCountedObjectProfile.fromJson(Map<String, dynamic> json) =>
    RefCountedObjectProfile(
      uniqueId: json["uniqueId"] as String,
      timestampCreated: (json["timestampCreated"] as int),
      strongReferences: json.containsKey("strongReferences")
          ? (json["strongReferences"] as int)
          : 0,
      serializedReferences: json.containsKey("serializedReferences")
          ? (json["serializedReferences"] as int)
          : 0,
    );