ResultSetMetadata.fromJson constructor

ResultSetMetadata.fromJson(
  1. Map json_
)

Implementation

ResultSetMetadata.fromJson(core.Map json_)
    : this(
        rowType: json_.containsKey('rowType')
            ? StructType.fromJson(
                json_['rowType'] as core.Map<core.String, core.dynamic>)
            : null,
        transaction: json_.containsKey('transaction')
            ? Transaction.fromJson(
                json_['transaction'] as core.Map<core.String, core.dynamic>)
            : null,
        undeclaredParameters: json_.containsKey('undeclaredParameters')
            ? StructType.fromJson(json_['undeclaredParameters']
                as core.Map<core.String, core.dynamic>)
            : null,
      );