toMap method

Map<String, dynamic> toMap()
override

Converts object to map.

Implementation

Map<String, dynamic> toMap() {
  return {
    'type': type,
    'key': key,
    'label': label,
    'initialValue': initialValue,
    'required': required,
    'labelRes': labelRes,
  };
}