TransactionOptions.fromJson constructor

TransactionOptions.fromJson(
  1. Map _json
)

Implementation

TransactionOptions.fromJson(core.Map _json)
    : this(
        readOnly: _json.containsKey('readOnly')
            ? ReadOnly.fromJson(
                _json['readOnly'] as core.Map<core.String, core.dynamic>)
            : null,
        readWrite: _json.containsKey('readWrite')
            ? ReadWrite.fromJson(
                _json['readWrite'] as core.Map<core.String, core.dynamic>)
            : null,
      );