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,
      );