MySqlSyncConfig.fromJson constructor

MySqlSyncConfig.fromJson(
  1. Map _json
)

Implementation

MySqlSyncConfig.fromJson(core.Map _json)
    : this(
        initialSyncFlags: _json.containsKey('initialSyncFlags')
            ? (_json['initialSyncFlags'] as core.List)
                .map<SyncFlags>((value) => SyncFlags.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );