toJson method

String toJson()

create HeaderModel to json string.

Implementation

String toJson() => json.encode(toMap());