Profile.fromJson constructor

Profile.fromJson(
  1. Map json_
)

Implementation

Profile.fromJson(core.Map json_)
    : this(
        emailAddress: json_.containsKey('emailAddress')
            ? json_['emailAddress'] as core.String
            : null,
        historyId: json_.containsKey('historyId')
            ? json_['historyId'] as core.String
            : null,
        messagesTotal: json_.containsKey('messagesTotal')
            ? json_['messagesTotal'] as core.int
            : null,
        threadsTotal: json_.containsKey('threadsTotal')
            ? json_['threadsTotal'] as core.int
            : null,
      );