Write.fromJson constructor

Write.fromJson(
  1. Map json_
)

Implementation

Write.fromJson(core.Map json_)
    : this(
        columns: json_.containsKey('columns')
            ? (json_['columns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        table:
            json_.containsKey('table') ? json_['table'] as core.String : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.List)
                .toList()
            : null,
      );