DatatableHeader.fromMap constructor

DatatableHeader.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DatatableHeader.fromMap(Map<String, dynamic> map) => DatatableHeader(
      text: map['text'],
      value: map['value'],
      sortable: map['sortable'],
      show: map['show'],
      textAlign: map['textAlign'],
      flex: map['flex'],
      headerBuilder: map['headerBuilder'],
      sourceBuilder: map['sourceBuilder'],
      format: map['format'],
      items: map['items'] ?? [],
    );