fromJson static method

ContactMetadata fromJson(
  1. Map json
)

Implementation

static ContactMetadata fromJson(Map json) {
  return ContactMetadata(
    properties: (json['properties'] as List).toProperties(),
    accounts: JsonHelpers.decodeList(
      json['accounts'] as List?,
      Account.fromJson,
    ),
  );
}