SyncStatus.fromJson constructor

SyncStatus.fromJson(
  1. Map json_
)

Implementation

SyncStatus.fromJson(core.Map json_)
    : this(
        mergeConflict: json_.containsKey('mergeConflict')
            ? json_['mergeConflict'] as core.bool
            : null,
        syncError: json_.containsKey('syncError')
            ? json_['syncError'] as core.bool
            : null,
      );